Set name in the environment, following the default export setting for the Environment.
Set name in the environment, exporting according to export.